← Back to issue list

snapcraft register-key timeout

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2065075
Type
issue
State
open
Author
~elvintech
Labels
craft-2880
Created
2024-05-07 15:44:29.754505+00:00
Updated
2024-05-07 20:20:20.508755+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I'm trying to follow the instructions for creating an Ubuntu Core model assertion but the register-key command doesn't work: $ snapcraft register-key kiosk-model-key Enter your Ubuntu One e-mail address and password. If you do not have an Ubuntu One account, you can create one at https://snapcraft.io/account Email: email_address@here Password: We strongly recommend enabling multi-factor authentication: https://help.ubuntu.com/community/SSO/FAQs/2FA Registering key ... error: cannot sign assertion: cannot sign using GPG: /usr/bin/gpg --personal-digest-preferences SHA512 --default-key 0x9CE93AE8F32535693B6E7B6D20A8BBC6BD028FCA --detach-sign failed: exit status 2 ("gpg: signing failed: Timeout\ngpg: signing failed: Timeout\n") Sorry, an error occurred in Snapcraft: Command '['snap', 'export-key', '--account=EyLgeiBk4chQJ40ljhXjJvmlfdmRnw0C', 'kiosk-model-key']' returned non-zero exit status 1. We would appreciate it if you anonymously reported this issue. No other data than the traceback and the version of snapcraft in use will be sent. Would you like to send this error data? (Yes/No/Always/View) [no]: Additionally trying to get more verbose output both turns up the verbosity and exits saying no such option: $ snapcraft register-key --verbosity=trace kiosk-model-key 2024-05-07 16:42:33.400 Starting snapcraft, version 8.2.5 2024-05-07 16:42:33.400 Logging execution to '/home/rob/.local/state/snapcraft/log/snapcraft-20240507-164233.400089.log' 2024-05-07 16:42:33.401 Raw pre-parsed sysargs: args={'help': False, 'verbose': False, 'quiet': False, 'verbosity': 'trace', 'version': False} filtered=['register-key', 'kiosk-model-key'] 2024-05-07 16:42:33.401 General parsed sysargs: command='register-key' args=['kiosk-model-key'] 2024-05-07 16:42:33.401 Configuring application... 2024-05-07 16:42:33.401 Preparing application... 2024-05-07 16:42:33.402 Command parsed sysargs: Namespace(key_name='kiosk-model-key') 2024-05-07 16:42:33.402 Build plan: platform=None, build_for=None 2024-05-07 16:42:33.402 Running snapcraft register-key on host Usage: snapcraft register-key [OPTIONS] <key-name> Try 'snapcraft register-key -h' for help. Error: No such option: --verbosity

Evaluation history

No evaluation history available.